<?php
/**
 * Created by PhpStorm.
 * User: zxgy
 * Date: 2018/3/18
 * Time: 17:48
 */
namespace app\common\lib\exception;

use think\exception\Handle;

class ApiExceptionError extends Handle
{
    private $httpCode=500;
    public function render(\Exception $e){
        return show('0',$e->getMessage(),[],$this->httpCode);
    }
}